package main

import (
	"./git"
	"./utils"
)

func main() {
	repo := &git.GitRepo{
		Repo_dir: "../repo",
	}

	lines_file := repo.Status("untracked")
	// Udebug(strings.Join(lines_file, "\n"))
	// utils.Utypeof(lines_file)

	err := repo.Add(lines_file)
	utils.Uassert(err, "")

	str_comment := utils.Utime_now()
	repo.Commit(str_comment)
}
